#pragma once

#include <stdint.h>

#include "rttIODevice.h"

namespace NXMFC
{

class rttI2C: public NXMFC::rttIODevice
{
public:
    int writeb(uint8_t id, uint8_t addr, uint8_t val);
    int readb(uint8_t id, uint8_t addr, uint8_t &val);
    int readv(uint8_t id, uint8_t addr, uint8_t *val, uint16_t len);
};

}
